<div class="flex">
  <ti-anchor id="anchor-templete" [items]="items" [scrollTarget]="scrollTarget">
    <ng-template #item let-item let-i="index"> {{i}} <span>{{item.title}}</span> </ng-template>
  </ti-anchor>
  <div class="h-96 w-full ml-32 overflow-auto" #scrollTarget>
    <div class="h-48 border border-gray-300 border-bottom-solid" id="{{item.id}}" *ngFor="let item of items">
      <h3 class="text-xl font-bold my-4">{{item.title}}</h3>
      <span>{{item.title}}</span>
    </div>
  </div>
</div>
